#pragma once
#include "Node.h"

class Dictionary
{
	Node * root ;
	int numOfElements;
public:
	Dictionary();
	~Dictionary();
	Worker * find ( StringKey * key );
	int insert (StringKey * key , Worker * worker);
	Worker * deleteWorker (StringKey * key)  ;
	void printDictionary ( const char * fileName) ; 
	void printDictionaryHelper (const Node * node);
	void freeAllElements ();



};





